/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.bodylimit.dao;

import br.com.bodylimit.model.Aluno;
import br.com.bodylimit.model.Exercicio;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Jõao Paulo
 */
public interface ExercicioDAO {

    public Exercicio obter(int id) throws SQLException;
    public List<Exercicio> listarPorNome(String nome) throws SQLException;

    public List<Exercicio> listar() throws SQLException;

    public void remover(int id) throws SQLException;

    public boolean atualizar(Exercicio exercicio) throws SQLException;

    public void adcionar(Exercicio exercicio) throws SQLException;

    
}
